ResizeBy(DrawingObject,DrawingObject[],ResizeAnchor,Double,Double,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Nullable<Boolean>) Method
In This Topic
Resize the specified drawing objects by both of horizontal and vertical.
Syntax
'Declaration
Public Sub ResizeBy( _
ByVal As DrawingObject, _
ByVal () As DrawingObject, _
ByVal As ResizeAnchor, _
ByVal As Double, _
ByVal As Double, _
Optional ByVal As Boolean, _
Optional ByVal As Boolean, _
Optional ByVal As Boolean, _
Optional ByVal As Boolean, _
Optional ByVal As Boolean, _
Optional ByVal As Boolean, _
Optional ByVal As Nullable(Of Boolean) _
)
'Usage
Dim instance As WorksheetDrawing
Dim activeDrawingObject As DrawingObject
Dim drawingObjects() As DrawingObject
Dim _resizeAnchor As ResizeAnchor
Dim horizontal As Double
Dim vertical As Double
Dim inflate As Boolean
Dim byScale As Boolean
Dim autoLayout As Boolean
Dim cutoff As Boolean
Dim applyDisplayFormulas As Boolean
Dim isRightToLeft As Boolean
Dim lockAspectRatio As Nullable(Of Boolean)
instance.ResizeBy(activeDrawingObject, drawingObjects, _resizeAnchor, horizontal, vertical, inflate, byScale, autoLayout, cutoff, applyDisplayFormulas, isRightToLeft, lockAspectRatio)
public void ResizeBy(
DrawingObject ,
DrawingObject[] ,
ResizeAnchor ,
double ,
double ,
bool ,
bool ,
bool ,
bool ,
bool ,
bool ,
Nullable<bool>
)
Parameters
- activeDrawingObject
- The drawing objects to calculate aspect ratio.
- drawingObjects
- The drawing objects to resize.
- _resizeAnchor
- horizontal
- The horizontal distance to resize the drawing object.
- vertical
- The vertical distance to resize the drawing object.
- inflate
- byScale
- autoLayout
- cutoff
- applyDisplayFormulas
- isRightToLeft
- lockAspectRatio
See Also